package com.lin.eat.entry;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.util.List;

@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class Address {

    private String ad_id;
    private String c_id;
    private String ad_phone;
    private String ad_consignee;
    private String ad_detail_info;
    private String ad_info;
    private int ad_state;
    private List<String> ad_num;

    public Address() {
    }

    public Address(String ad_id, String c_id, String ad_phone, String ad_consignee, String ad_detail_info, String ad_info, int ad_state, List<String> ad_num) {
        this.ad_id = ad_id;
        this.c_id = c_id;
        this.ad_phone = ad_phone;
        this.ad_consignee = ad_consignee;
        this.ad_detail_info = ad_detail_info;
        this.ad_info = ad_info;
        this.ad_state = ad_state;
        this.ad_num = ad_num;
    }

    @Override
    public String toString() {
        return "Address{" +
                "ad_id='" + ad_id + '\'' +
                ", c_id='" + c_id + '\'' +
                ", ad_phone='" + ad_phone + '\'' +
                ", ad_consignee='" + ad_consignee + '\'' +
                ", ad_detail_info='" + ad_detail_info + '\'' +
                ", ad_info='" + ad_info + '\'' +
                ", ad_state=" + ad_state +
                ", ad_num=" + ad_num +
                '}';
    }

    public String getAd_id() {
        return ad_id;
    }

    public void setAd_id(String ad_id) {
        this.ad_id = ad_id;
    }

    public String getC_id() {
        return c_id;
    }

    public void setC_id(String c_id) {
        this.c_id = c_id;
    }

    public String getAd_phone() {
        return ad_phone;
    }

    public void setAd_phone(String ad_phone) {
        this.ad_phone = ad_phone;
    }

    public String getAd_consignee() {
        return ad_consignee;
    }

    public void setAd_consignee(String ad_consignee) {
        this.ad_consignee = ad_consignee;
    }

    public String getAd_detail_info() {
        return ad_detail_info;
    }

    public void setAd_detail_info(String ad_detail_info) {
        this.ad_detail_info = ad_detail_info;
    }

    public String getAd_info() {
        return ad_info;
    }

    public void setAd_info(String ad_info) {
        this.ad_info = ad_info;
    }

    public int getAd_state() {
        return ad_state;
    }

    public void setAd_state(int ad_state) {
        this.ad_state = ad_state;
    }

    public List<String> getAd_num() {
        return ad_num;
    }

    public void setAd_num(List<String> ad_num) {
        this.ad_num = ad_num;
    }
}
